package com.chenshu.shop.model;

import lombok.Data;

import java.sql.Date;
import java.util.List;

/**
 * Created with IntelliJ IDEA
 * Description
 * User：chenshu
 * Date：2024-06-07
 * Time：10:38
 */
@Data
public class Order {
    Integer id;
    Integer total;
    Integer amount;
    Short status;
    Short paytype;
    String name;
    String phone;
    String address;
    Date systime;
    Integer userId;
    //在user表中查询
    String userName;
    //Item表中查询
    List<Item> itemList;
}
